package user;

import book.BookLise;
import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;
import operation.IOperation;

public abstract class User {
    protected String name;
    public  IOperation[] ioPerations;

    public User(String name) {
        this.name = name;
    }

    public abstract int menu();

    public void toOperation(int choice, BookLise bookLise){
        ioPerations[choice].work(bookLise);
    }
}
